package com.itheima.wisdomnext.entity;

import java.sql.Timestamp;

public class ReportReplyTemplate {

    private int id;              // 模板 ID
    private String templateName; // 模板名称
    private String templateContent; // 模板内容
    private Timestamp createdAt; // 创建时间

    // 默认构造方法
    public ReportReplyTemplate() {}

    // 带参构造方法
    public ReportReplyTemplate(int id, String templateName, String templateContent, Timestamp createdAt) {
        this.id = id;
        this.templateName = templateName;
        this.templateContent = templateContent;
        this.createdAt = createdAt;
    }

    // Getter 和 Setter 方法
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTemplateContent() {
        return templateContent;
    }

    public void setTemplateContent(String templateContent) {
        this.templateContent = templateContent;
    }

    public Timestamp getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Timestamp createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "ReportReplyTemplate{" +
                "id=" + id +
                ", templateName='" + templateName + '\'' +
                ", templateContent='" + templateContent + '\'' +
                ", createdAt=" + createdAt +
                '}';
    }
}
